
import ApiService from '@/utils/ApiService'; // 引入Api服务
// 获取系统配置
export const getSystemConfig = () => {
    return ApiService.get('/mzt/portal/getSystemConfig');
};
// 获取首页标签列表
export const getTagList = () => {
    return ApiService.get('/mzt/portal/getTagList');
};
// 获取首页文章分页
export const getArticlePage = (param) => {
    return ApiService.get('/mzt/portal/getArticlePage', { params: param });
};
//获取推荐分类对应文章列表
export const getRecommendArticleList = (param) => {
    return ApiService.get('/mzt/portal/getRecommendArticleList', { params: param });
};
//根据分类id获取分类信息
export const getCategoryById = (param) => {
    return ApiService.get('/mzt/portal/getCategoryById', { params: param });
};
//根据id获取文章信息
export const getArticleById = (param) => {
    return ApiService.get('/mzt/portal/getArticleById', { params: param });
};
//获取推荐文章、近期文章、排行榜文章、相关推荐
export const getDataObject = (param) => {
    return ApiService.get('/mzt/portal/getDataObject', { params: param });
};
//获取分类列表
export const getCategoryList = (param) => {
    return ApiService.get('/mzt/portal/getCategoryList', { params: param });
};
//关键字搜索分类
export const inquireCategory = (param) => {
    return ApiService.get('/mzt/portal/inquireCategory', { params: param });
};
//根据根据关键字检索文章
export const inquireArticle = (param) => {
    return ApiService.get('/mzt/portal/inquireArticle', { params: param });
};
